<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<style type="text/css">
.dateWidth1{
   width:195px;
}
.select_width{
   width:130px;
}
</style>

<table class="t_css table01" width="100%" border="0" cellpadding="0" id="basicInfo2"
	cellspacing="1">
    <col style="width:18%"/>
	<col style="width:16%"/>
	<col style="width:16%"/>
	<col style="width:18%"/>
	<col style="width:16%"/>
	<col style="width:16%"/>
	<tr class="li_1">
		<td   colspan="6" class="t_bar2">${param.title}</td>
		
	</tr>
	<tr  class="li_2">
		<td >
		</td>
		<td align="center">规模（产量/吨）
		</td>
		<td align="center">产值（万元）
		</td>
		<td align="center">利润（万元）
		</td>
		<td align="center">税金（万元）
		</td>
		<td align="center">创汇（万美元）
		</td>
	</tr>
	<tr  class="li_1">
	    <td   align="center" >第一年
		</td>
		<td align="center">
			<x:out select="$xmlData/data/proposal/one_scale" /> 
		</td>
		<td align="center">
			<x:out select="$xmlData/data/proposal/one_output" />
		</td>
		<td align="center">
			<x:out select="$xmlData/data/proposal/one_sail" />
		</td>
		<td align="center">
			<x:out select="$xmlData/data/proposal/one_tax" />
		</td>
		<td align="center">
		   <x:out select="$xmlData/data/proposal/one_earn" />
		</td>
	</tr>
	<tr  class="li_2">
	<td   align="center" >第二年
		</td>
		<td align="center">
			<x:out select="$xmlData/data/proposal/two_scale" />
		</td >
		<td  align="center">
			<x:out select="$xmlData/data/proposal/two_output" /> 
		</td >
		<td align="center">
		<x:out select="$xmlData/data/proposal/two_sail" />
		</td>
		<td align="center">
			<x:out select="$xmlData/data/proposal/two_tax" />
		</td>
		<td align="center">
		   <x:out select="$xmlData/data/proposal/two_earn" />
		</td>
	</tr>
	<tr  class="li_1">
	<td   align="center" >第三年
		</td>
		<td align="center">
			<x:out select="$xmlData/data/proposal/three_scale" />
		</td >
		<td  align="center">
			<x:out select="$xmlData/data/proposal/three_output" /> 
		</td >
		<td align="center">
			<x:out select="$xmlData/data/proposal/three_sail" />
		</td>
		<td align="center">
			<x:out select="$xmlData/data/proposal/three_tax" />
		</td>
		<td align="center">
		   <x:out select="$xmlData/data/proposal/three_earn" />
		</td>
	</tr>
</table> 
	<br/>
<script type="text/javascript">
function countFundInt(idStart, countStr, totalStr) {
	var indexs = countStr.split(",");
	var count = 0;
	for ( var i = 0; i < indexs.length; i++) {
		var fund = $("#" + idStart + indexs[i]).val();
		if (!$.isNumeric(fund))
			fund = 0;
		count = parseInt(count) + parseInt(fund);
	}
	//add by cg 扩展：对于多个输入框所求得的和，同时赋给某几个文本框
	var totalStrArr = totalStr.split(",");
	var totalId;
	for(var i = 0;i < totalStrArr.length; i++ ) {
		totalId = totalStrArr[i];
	$("#" + idStart + totalId).val(count);
	}
}
</script>